package com.baizhi.service;

import com.baizhi.entity.User;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;


public interface UserService {
    PageInfo<User> selectAll(Integer page, Integer limit, String userTelphone);
    void updateStatus(Integer userStatus, Integer userId);
    List<Integer> selectNum();
    List<Integer> selectWeek();
    List<Map> selectByProvince();
    //    优化
    Map selectByThread() throws InterruptedException;
    //    没有优化的
    Map selectAllCount();
}
